package com.ssm.tsj.service.impl;

import com.ssm.common.pojo.TMentalityResult;
import com.ssm.common.pojo.TMentalityTest;
import com.ssm.tsj.mapper.TMemberXiaotanMapper;
import com.ssm.tsj.service.PsychologicalAssessmentService;
import com.ssm.tsj.vo.MemberMedicVo;
import com.ssm.tsj.vo.TMemberVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PsychologicalAssessmentServiceImpl implements PsychologicalAssessmentService {

    @Resource
    private TMemberXiaotanMapper tMemberXiaotanMapper;

    public List<TMemberVo> resquery(String name) throws Exception {

        return this.tMemberXiaotanMapper.resquery(name);


    }

    public List<TMentalityTest> mentality_testQuery() throws Exception {
        return this.tMemberXiaotanMapper.mentality_testQuery();
    }

    public void saveMentality_test(TMentalityResult vo) throws Exception {
        this.tMemberXiaotanMapper.saveMentality_test(vo);
    }


}
